package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

public class EmpSalaryUpdateForm extends ActionForm {

	private int id = 0;
	private int empNumber;

	private String name;
	private int payGrade;
	private String payFrequency;
	private String amount;
	private String comment;

	private String message = "";
	private boolean isAddNew = true;

	private List<LabelValueBean> allPayGrades = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> allPayFrequencies = new ArrayList<LabelValueBean>();

	public EmpSalaryUpdateForm() {

	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public int getEmpNumber() {
		return empNumber;
	}

	public void setEmpNumber(int empNumber) {
		this.empNumber = empNumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPayGrade() {
		return payGrade;
	}

	public void setPayGrade(int payGrade) {
		this.payGrade = payGrade;
	}

	public String getPayFrequency() {
		return payFrequency;
	}

	public void setPayFrequency(String payFrequency) {
		this.payFrequency = payFrequency;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public List<LabelValueBean> getAllPayGrades() {
		return allPayGrades;
	}

	public void setAllPayGrades(List<LabelValueBean> allPayGrades) {
		this.allPayGrades = allPayGrades;
	}

	public List<LabelValueBean> getAllPayFrequencies() {
		return allPayFrequencies;
	}

	public void setAllPayFrequencies(List<LabelValueBean> allPayFrequencies) {
		this.allPayFrequencies = allPayFrequencies;
	}
}
